package com.jnhc.lwh.remote;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Auther: liuwenhao
 * @Date: 2019/1/16 22:29
 * @Description:
 */
@Component
public class HelloRemoteHystrix implements HelloRemote {
    @Override
    public String hello(@RequestParam(value="name") String name) {
        return "hello" + name + " this message send failed";
    }
}